﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace EditAnyString.Providers
{
	public interface IEASStorageProvider
	{
		string Name { get; }

		Models.EditableString GetString( string context, string t, int? idx );
		Models.EditableString GetByKey( int key );
		bool Update( int key, string value );
		int StoreEASData( Models.EditableStringDictionary source );

		IList<Models.EditableString> Search( int? searchKey, string searchContext, string searchValue, int pageIndex, int pageSize, out int total );

	}
}
